package com.bosssoft.hr.train.springmvc.example.service;


import com.bosssoft.hr.train.springmvc.example.model.User;

import java.util.List;

/**
 * @description 用户业务接口
 * @author ChenTong
 * @date 2020/6/5
 */
public interface UserService {
    /**
    List<User> listAll();

    boolean insert(User user);

    boolean remove(Long id);

    boolean update(User user);

    User getUserByName(String name);
     **/

    boolean login(String username, String password);
}
